﻿using Game.Level;
using Game.Map;

namespace Game.Actions
{
    public class Context
    {
        readonly ActionExecutor _ActionExecutor;
        readonly IGameMapView _GameMapView;
        readonly GameLevels _GameLevels;

        public Context(
            ActionExecutor actionExecutor, 
            IGameMapView gameMapView,
            GameLevels levels)
        {
            _ActionExecutor = actionExecutor;
            _GameMapView = gameMapView;
            _GameLevels = levels;
        }
        
        public ActionExecutor ActionExecutor
        {
            get { return _ActionExecutor; }
        }

        public IGameMapView GameMapView
        {
            get { return _GameMapView; }
        }

        public GameLevels GameLevels
        {
            get { return _GameLevels; }
        }
    }
}
